﻿#region zh-CHS 2010 - 2010 DemoSoft 团队 | en 2010-2010 DemoSoft Team

//     NOTES
// ---------------
//
// This file is a part of the MMOCE(Massively Multiplayer Online Client Engine) for .NET.
//
//                              2010-2010 DemoSoft Team
//
//
// First Version : by H.Q.Cai - mailto:caihuanqing@hotmail.com

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU Lesser General Public License as published
 *   by the Free Software Foundation; either version 2.1 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

#region zh-CHS 包含名字空间 | en Include namespace
using System.Collections.Generic;
#endregion

namespace Demo.Silverlight.Core.Common.Template
{
    /// <summary>
    /// 
    /// </summary>
    public interface ITemplateSerial
    {
        /// <summary>
        /// 模板的Id
        /// </summary>
        /// <returns></returns>
        Serial TemplateSerial { get; }
    }

    /// <summary>
    /// 
    /// </summary>
    public interface ISupportTemplate<TemplateT>
        where TemplateT : ITemplateSerial
    {
        /// <summary>
        /// 创建光环
        /// </summary>
        /// <returns></returns>
        IEnumerable<TemplateT> FindTemplateOnId( long templateId );
    }
}
#endregion